package cn.edu.zjx.service;

import com.management.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> getAllRoles();
    
    Role getRoleById(Integer id);
    
    boolean addRole(Role role);
    
    boolean updateRole(Role role);
    
    boolean deleteRole(Integer id);
    
    List<Role> searchRoles(String keyword);
} 